package com.xwt.web.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.xwt.web.entity.User;

public interface UserRepository extends JpaRepository<User, Long> {
	User findByUsername(String username);
	int deleteByUsername(String username);
}
